package com.krtech.wecard.module.sys.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 二维码验证实体 https://wiki.weixiao.qq.com/api/school/campuscode.html
 */
@Data
public class OrCodeBean {

    @NotBlank(message = "必填参数appKey不能为空")
    private String app_key;

    @NotBlank(message = "必填参数timestamp不能为空")
    private String timestamp;

    @NotBlank(message = "必填参数timestamp不能为空")
    private String nonce;

    private String signature;

    @NotBlank(message = "必填参数schoolCode不能为空")
    private String school_code;

    @NotBlank(message = "必填参数authCode不能为空")
    private String auth_code;

    @NotBlank(message = "必填参数scene不能为空")
    private String scene;

    @NotBlank(message = "必填参数deviceNo不能为空")
    private String device_no;

    @NotBlank(message = "必填参数location不能为空")
    private String location;
}
